<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>动态生成表格</title>
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <table id="myTable">
    <thead>
      <tr>
        <th>姓名</th>
        <th>年龄</th>
        <th>性别</th>
        <th>操作</th>
      </tr>
    </thead>
    <tbody>
    </tbody>
  </table>
  <button onclick="addRow()">添加行</button>
  <script src="script.js"></script>
</body>
</html>
